//
//  Extra1ViewController.h
//  ToucheTouche
//
//  Created by polytech polytech on 11/01/12.
//  Copyright (c) 2012 polytech. All rights reserved.
//

#import <UIKit/UIKit.h>

@class GameAventureViewController;

@protocol Extra1ViewControllerDelegate <NSObject>
@optional

@end

@interface Extra1ViewController : UIViewController <UIAlertViewDelegate> {
    UIButton *button10;
    UIButton *button11;
    UIButton *button12;
    UIButton *button13;
    UIButton *button14;
    UIButton *button15;
    UIButton *button16;
    UIButton *button17;
    UIButton *button18;
    UIButton *button19;
    UIButton *button20;
    UIButton *button21;
    UIButton *button22;
    UIButton *button23;
    UIButton *button24;
    UIButton *button25;
    UIButton *button26;
    UIButton *button27;
    UIButton *button28;
    UIButton *button29;
    UIButton *button30;
    UIButton *button31;
    UIButton *button32;
    UIButton *button33;
    UIButton *button34;
    UIButton *button35;
    UIButton *button36;
    UIButton *button37;
    UIButton *button38;
    UIButton *button39;
    UIButton *button40;
    UIButton *button41;
    UIButton *button42;
    UIButton *button43;
    UIButton *button44;
    UIButton *button45;
    UIButton *button46;
    UIButton *button47;
    UIButton *button48;
    UIButton *button49;
    UIButton *button50;
    UIButton *button51;
    UIButton *button52;
    UIButton *button53;
    UIButton *button54;
    UIButton *button55;
    UIButton *button56;
    UIButton *button57;
    UIButton *button58;
    UIButton *button59;

    IBOutletCollection(UIButton) NSArray *allButtons;
    
    UIImageView *imageView10;
    UIImageView *imageView11;
    UIImageView *imageView12;
    UIImageView *imageView13;
    UIImageView *imageView14;
    UIImageView *imageView15;
    UIImageView *imageView16;
    UIImageView *imageView17;
    UIImageView *imageView18;
    UIImageView *imageView19;
    UIImageView *imageView20;
    UIImageView *imageView21;
    UIImageView *imageView22;
    UIImageView *imageView23;
    UIImageView *imageView24;
    UIImageView *imageView25;
    UIImageView *imageView26;
    UIImageView *imageView27;
    UIImageView *imageView28;
    UIImageView *imageView29;
    UIImageView *imageView30;
    UIImageView *imageView31;
    UIImageView *imageView32;
    UIImageView *imageView33;
    UIImageView *imageView34;
    UIImageView *imageView35;
    UIImageView *imageView36;
    UIImageView *imageView37;
    UIImageView *imageView38;
    UIImageView *imageView39;
    UIImageView *imageView40;
    UIImageView *imageView41;
    UIImageView *imageView42;
    UIImageView *imageView43;
    UIImageView *imageView44;
    UIImageView *imageView45;
    UIImageView *imageView46;
    UIImageView *imageView47;
    UIImageView *imageView48;
    UIImageView *imageView49;
    UIImageView *imageView50;
    UIImageView *imageView51;
    UIImageView *imageView52;
    UIImageView *imageView53;
    UIImageView *imageView54;
    UIImageView *imageView55;
    UIImageView *imageView56;
    UIImageView *imageView57;
    UIImageView *imageView58;
    UIImageView *imageView59;

    IBOutletCollection(UIImageView) NSArray *allImagesView;
    float score;
    float floatGameScore;
    NSInteger temps;
    NSTimer *chrono;
    
    GameAventureViewController *gameAventureViewController;

    int intTimerLevel;
    
    UIAlertView *alertLevel;
}

@property (nonatomic, retain) UIAlertView *alertLevel;

@property (nonatomic, assign) int intTimerLevel;

@property (nonatomic,retain) IBOutlet UIButton *button10;
@property (nonatomic,retain) IBOutlet UIButton *button11;
@property (nonatomic,retain) IBOutlet UIButton *button12;
@property (nonatomic,retain) IBOutlet UIButton *button13;
@property (nonatomic,retain) IBOutlet UIButton *button14;
@property (nonatomic,retain) IBOutlet UIButton *button15;
@property (nonatomic,retain) IBOutlet UIButton *button16;
@property (nonatomic,retain) IBOutlet UIButton *button17;
@property (nonatomic,retain) IBOutlet UIButton *button18;
@property (nonatomic,retain) IBOutlet UIButton *button19;
@property (nonatomic,retain) IBOutlet UIButton *button20;
@property (nonatomic,retain) IBOutlet UIButton *button21;
@property (nonatomic,retain) IBOutlet UIButton *button22;
@property (nonatomic,retain) IBOutlet UIButton *button23;
@property (nonatomic,retain) IBOutlet UIButton *button24;
@property (nonatomic,retain) IBOutlet UIButton *button25;
@property (nonatomic,retain) IBOutlet UIButton *button26;
@property (nonatomic,retain) IBOutlet UIButton *button27;
@property (nonatomic,retain) IBOutlet UIButton *button28;
@property (nonatomic,retain) IBOutlet UIButton *button29;
@property (nonatomic,retain) IBOutlet UIButton *button30;
@property (nonatomic,retain) IBOutlet UIButton *button31;
@property (nonatomic,retain) IBOutlet UIButton *button32;
@property (nonatomic,retain) IBOutlet UIButton *button33;
@property (nonatomic,retain) IBOutlet UIButton *button34;
@property (nonatomic,retain) IBOutlet UIButton *button35;
@property (nonatomic,retain) IBOutlet UIButton *button36;
@property (nonatomic,retain) IBOutlet UIButton *button37;
@property (nonatomic,retain) IBOutlet UIButton *button38;
@property (nonatomic,retain) IBOutlet UIButton *button39;
@property (nonatomic,retain) IBOutlet UIButton *button40;
@property (nonatomic,retain) IBOutlet UIButton *button41;
@property (nonatomic,retain) IBOutlet UIButton *button42;
@property (nonatomic,retain) IBOutlet UIButton *button43;
@property (nonatomic,retain) IBOutlet UIButton *button44;
@property (nonatomic,retain) IBOutlet UIButton *button45;
@property (nonatomic,retain) IBOutlet UIButton *button46;
@property (nonatomic,retain) IBOutlet UIButton *button47;
@property (nonatomic,retain) IBOutlet UIButton *button48;
@property (nonatomic,retain) IBOutlet UIButton *button49;
@property (nonatomic,retain) IBOutlet UIButton *button50;
@property (nonatomic,retain) IBOutlet UIButton *button51;
@property (nonatomic,retain) IBOutlet UIButton *button52;
@property (nonatomic,retain) IBOutlet UIButton *button53;
@property (nonatomic,retain) IBOutlet UIButton *button54;
@property (nonatomic,retain) IBOutlet UIButton *button55;
@property (nonatomic,retain) IBOutlet UIButton *button56;
@property (nonatomic,retain) IBOutlet UIButton *button57;
@property (nonatomic,retain) IBOutlet UIButton *button58;
@property (nonatomic,retain) IBOutlet UIButton *button59;

@property (nonatomic, retain) IBOutletCollection(UIButton) NSArray *allButtons;

@property (nonatomic,retain) IBOutlet UIImageView *imageView10;
@property (nonatomic,retain) IBOutlet UIImageView *imageView11;
@property (nonatomic,retain) IBOutlet UIImageView *imageView12;
@property (nonatomic,retain) IBOutlet UIImageView *imageView13;
@property (nonatomic,retain) IBOutlet UIImageView *imageView14;
@property (nonatomic,retain) IBOutlet UIImageView *imageView15;
@property (nonatomic,retain) IBOutlet UIImageView *imageView16;
@property (nonatomic,retain) IBOutlet UIImageView *imageView17;
@property (nonatomic,retain) IBOutlet UIImageView *imageView18;
@property (nonatomic,retain) IBOutlet UIImageView *imageView19;
@property (nonatomic,retain) IBOutlet UIImageView *imageView20;
@property (nonatomic,retain) IBOutlet UIImageView *imageView21;
@property (nonatomic,retain) IBOutlet UIImageView *imageView22;
@property (nonatomic,retain) IBOutlet UIImageView *imageView23;
@property (nonatomic,retain) IBOutlet UIImageView *imageView24;
@property (nonatomic,retain) IBOutlet UIImageView *imageView25;
@property (nonatomic,retain) IBOutlet UIImageView *imageView26;
@property (nonatomic,retain) IBOutlet UIImageView *imageView27;
@property (nonatomic,retain) IBOutlet UIImageView *imageView28;
@property (nonatomic,retain) IBOutlet UIImageView *imageView29;
@property (nonatomic,retain) IBOutlet UIImageView *imageView30;
@property (nonatomic,retain) IBOutlet UIImageView *imageView31;
@property (nonatomic,retain) IBOutlet UIImageView *imageView32;
@property (nonatomic,retain) IBOutlet UIImageView *imageView33;
@property (nonatomic,retain) IBOutlet UIImageView *imageView34;
@property (nonatomic,retain) IBOutlet UIImageView *imageView35;
@property (nonatomic,retain) IBOutlet UIImageView *imageView36;
@property (nonatomic,retain) IBOutlet UIImageView *imageView37;
@property (nonatomic,retain) IBOutlet UIImageView *imageView38;
@property (nonatomic,retain) IBOutlet UIImageView *imageView39;
@property (nonatomic,retain) IBOutlet UIImageView *imageView40;
@property (nonatomic,retain) IBOutlet UIImageView *imageView41;
@property (nonatomic,retain) IBOutlet UIImageView *imageView42;
@property (nonatomic,retain) IBOutlet UIImageView *imageView43;
@property (nonatomic,retain) IBOutlet UIImageView *imageView44;
@property (nonatomic,retain) IBOutlet UIImageView *imageView45;
@property (nonatomic,retain) IBOutlet UIImageView *imageView46;
@property (nonatomic,retain) IBOutlet UIImageView *imageView47;
@property (nonatomic,retain) IBOutlet UIImageView *imageView48;
@property (nonatomic,retain) IBOutlet UIImageView *imageView49;
@property (nonatomic,retain) IBOutlet UIImageView *imageView50;
@property (nonatomic,retain) IBOutlet UIImageView *imageView51;
@property (nonatomic,retain) IBOutlet UIImageView *imageView52;
@property (nonatomic,retain) IBOutlet UIImageView *imageView53;
@property (nonatomic,retain) IBOutlet UIImageView *imageView54;
@property (nonatomic,retain) IBOutlet UIImageView *imageView55;
@property (nonatomic,retain) IBOutlet UIImageView *imageView56;
@property (nonatomic,retain) IBOutlet UIImageView *imageView57;
@property (nonatomic,retain) IBOutlet UIImageView *imageView58;
@property (nonatomic,retain) IBOutlet UIImageView *imageView59;

@property (nonatomic, retain) IBOutletCollection(UIImageView) NSArray *allImagesView;
@property (retain, nonatomic) IBOutlet UILabel *labelTmp;

@property (retain, nonatomic) IBOutlet UILabel *labelScore;
@property (nonatomic, assign) float score;
@property (nonatomic, assign) float floatGameScore;
@property (nonatomic,assign) NSInteger temps;

@property (nonatomic, retain) id <Extra1ViewControllerDelegate> delegate;
@property (nonatomic, retain) GameAventureViewController *gameAventureViewController;

- (IBAction)actionImage:(id)sender;
- (void)timer :(NSInteger) tmp;
- (void)stopTimer;
- (void) updateTimer: (NSTimer *) aTimer;




@end
